import request from '@/axios'

function formatRequestUri(name) {
  return 'flow/node/audit/emp/' + name
}

export function Set(data) {
  return request.post({
    url: formatRequestUri('Set'),
    data
  })
}

export function Get(nodeId) {
  return request.get({
    url: formatRequestUri('Get'),
    params: {
      nodeId
    }
  })
}
